ÄúµÄλÖãºÑ°ÃÎÍøÊ×Ò³£¾±à³ÌÀÖÔ°£¾VBScript£¾VBScript


objects constants operators statements functions properties methods






FUNCTION:  CreateObject( )

CreateObject(ServerName.TypeName)

The CREATEOBJEC function creates an automation object.

The Set statement assigns the object reference to a variable or property. The keyword Nothing is used to unassign the object reference from the variable or property.

Code:
<%
Set anyvariable = Server.CreateObject("Scripting.FileSystemObject")
%>

<% Set anyvariable = Nothing %>